import elementRoute from './elementRoute'
import shareRoute from './shareRoute'
import trainRoute from './trainRoute'
import noticeRoute from './noticeRoute'
import basicRoute from './basicRoute'
import dataKanbans from './dataKanban.js'
import systemRoute from './systemRoute.js'
import auditRoute from './auditRoute'
import examRoute from './examRoute'
import onlineRoute from './onlineRoute'

const adminRoute = {
  path: '/admin',
  name: 'admin',
  redirect: '/admin/train-library/training-library',
  // redirect: '/admin/element-library',
  component: () => import('@/layout/admin/index.vue'),
  children: [
    // elementRoute,
    // shareRoute,
    trainRoute,
    noticeRoute,
    basicRoute,
    // dataKanbans,
    systemRoute,
    auditRoute,
    examRoute,
    // onlineRoute,
  ],
}

export default adminRoute
